package com.zzyl.mapper;

import com.github.pagehelper.Page;
import com.zzyl.dto.NursingLevelDto;
import com.zzyl.entity.NursingLevel;
import com.zzyl.vo.NursingLevelVo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface NursingLevelMapper {


    List<NursingLevel> selectAll();



    Page<NursingLevel> selectByPage(String name, Integer status);

    NursingLevel selectById(Long id);

    void update(NursingLevel nursingLevel);

    void deleteById(Long id);

    void statueById(Long id, Integer status);

    void addAll(NursingLevelDto dto);

}
